<template>
    <view class="container">
        <nav-bar :bgColor="['#e62321','#ea4929']" fontColor="#FFF" title="文章列表"></nav-bar>

        <view class="list-container">
            <view class="list-item">
                <view class="main-content">
                    <view class="header-content">
                        <image src="../../static/img/article_icon.png" />
                        <text class="title">
                            《新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务》
                        </text>
                    </view>
                    <view class="time">2021-09-08</view>
                </view>
                <view class="btn-container">
                    <view class="btn-item">编辑</view>
                    <view class="btn-item">删除</view>
                </view>
            </view>

            <view class="list-item">
                <view class="main-content">
                    <view class="header-content">
                        <image src="../../static/img/article_icon.png" />
                        <text class="title">
                            《新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务新时代产业体系建设的新内涵与新任务》
                        </text>
                    </view>
                    <view class="time">2021-09-08</view>
                </view>
                <view class="btn-container">
                    <view class="btn-item">编辑</view>
                    <view class="btn-item">删除</view>
                </view>
            </view>

        </view>

    </view>
</template>
<script>

    import navBar from '../../components/nav-bar/index'

    export default {
        components: {
            'nav-bar': navBar
        },
        data() {
            return {

            }
        },
        methods: {


        },
    }
</script>
<style lang="scss" scoped>

    .container {

    }

    .list-container {
        padding: 30rpx;
        .list-item {
            display: flex;
            flex-direction: column;
            box-shadow: 0 4rpx 15rpx 0 #d99994;
            padding: 20rpx;
            border-radius: 20rpx;
            margin-bottom: 50rpx;
            .main-content {
                border-bottom: 1px solid #e6e6e6;
            }
            .header-content {
                display: flex;
                image {
                    width: 30rpx;
                    height: 30rpx;
                }
                .title {
                    width: 650rpx;
                    line-height: 40rpx;
                    margin-left: 16rpx;
                    color: #333333;
                    font-size: 30rpx;
                }
            }
            .time {
                color: grey;
                font-size: 26rpx;
                margin: 20rpx 0;
                text-align: right;
            }
            .btn-container {
                padding: 30rpx 0;
                display: flex;
                justify-content: flex-end;
                .btn-item {
                    padding: 10rpx 30rpx;
                    border: 3rpx solid #e83025;
                    font-size: 26rpx;
                    color: #000000;
                    margin-right: 16rpx;
                }
            }
        }
    }

</style>
